package com.zyg.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;
@TableName("student_info")
@Data
public class Student {
    private Integer studentId;
    private Integer studentNum;
    private String studentName;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    private Claee claee;

    private Integer claeeId;

    private Hostel hostel;
    private Integer hostelId;

    private Major major;
    private Integer majorId;
}
